package com.max.constants;

public enum RoomState {

    CAN_USE(1, "可用"),
    CANT_USE(0, "不可用"),
    RESERVATION_ING(2, "已预约");

    private final String desc;
    private final int value;

    RoomState(int value, String desc) {
        this.desc = desc;
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public int getValue() {
        return value;
    }
}
